package com.continuing.beef.service.client;

import com.continuing.common.annotation.DataScope;
import com.continuing.common.core.domain.entity.SysUser;
import com.continuing.system.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 类型为客户的用户service
 */
@Service
public class ClientUserService {

    @Autowired
    private SysUserMapper userMapper;


    /**
     * 根据条件分页查询用户列表
     *
     * @param user 用户信息
     * @return 用户信息集合信息
     */
    @DataScope(deptAlias = "d", userAlias = "u")
    public List<SysUser> selectUserList(SysUser user)
    {
        return userMapper.selectUserList(user);
    }



}
